{config_load file="$language/lang.conf" section="product_info"}
{$FORM_ACTION}
<div class="content-block">
	<div class="con-top gray"><div class="gt-left"></div><div class="gt-right"></div></div>
		<div class="content-block-title">
			<h2>{$PRODUCTS_NAME}</h2>
		</div>
	<div class="con-cen">
		<div class="content-text">
			{if $PRODUCTS_IMAGE or $PRODUCTS_MO_IMAGES or $PRODUCTS_IMAGE_LINK!=''}
			<div class="prod-info-image">
				<div class="prod-info-image-all">
				{if $PRODUCTS_POPUP_LINK!=''}
					<a href="{$PRODUCTS_POPUP_IMAGE}" title="{$PRODUCTS_NAME}" rel="example_group" target="_blank">
				{/if}
					<img src="{$PRODUCTS_IMAGE}" alt="{$PRODUCTS_NAME}" />
				{if $PRODUCTS_POPUP_LINK!=''}
					</a>
				{/if}
				</div>
			</div>
			{/if}
			<div class="prod-info-info">
			<div class="prod-info-desc-short">
				{if $PRODUCTS_ADDED != ''}
					<span class="date-aviable">{$PRODUCTS_ADDED}</span>
				{/if}
			</div>
			<div class="prod-info-buy">
				<span class="cost bold"><em>{$PRODUCTS_PRICE}</em></span> <span class="add-cart">{$ADD_CART_BUTTON}<span>{$ADD_QTY}</span></span>
			</div>
			<div class="clear"></div>
			<ul class="prod-info-other">
				<li>{#print#} {$PRODUCTS_PRINT}</li>
				<li>{#question#} {$ASK_PRODUCT_QUESTION}</li>
				{if $PRODUCTS_DATE_AVIABLE != ''}
				<li>{$PRODUCTS_DATE_AVIABLE}</li>
				{/if}
				{if $MODULE_graduated_price !=''}
				<li>{$MODULE_graduated_price}</li>
				{/if}
				{if $PRODUCTS_FSK18=='true'}
				<li class="bold">Товар для взрослых</li>
				{/if}
			</ul>
			<ul class="prod-info-other tr">
				<li>{$PRODUCTS_TAX_INFO}</li>
				{if $PRODUCTS_SHIPPING_LINK}
				<li>{$PRODUCTS_SHIPPING_LINK}</li>
				{/if}
				{if $PRODUCTS_VPE}
				<li>{$PRODUCTS_VPE}</li>
				{/if}
				{if $PRODUCTS_MODEL!=''}
				<li>{#model#} {$PRODUCTS_MODEL}</li>
				{/if}
				{if $PRODUCTS_DISCOUNT}
				<li>{#text_discount#} {$PRODUCTS_DISCOUNT}</li>
				{/if}
				{if $SHIPPING_NAME}
				<li>{#text_shippingtime#} {$SHIPPING_NAME}</li>
				{/if}
				{if $MODULE_product_options !=''}
				<li>{$MODULE_product_options}</li>
				{/if}
			</ul>
			<div class="clear"></div>
			{if $extra_fields_data}
			<ul class="prod-info-other2">
				{foreach name=aussen item=extra_fields from=$extra_fields_data} 
				<li><span class="bold">{$extra_fields.NAME}:</span> {$extra_fields.VALUE}</li>
				{/foreach}
			</ul>
			{/if}
			{if $MODULE_tpt != ''}
			<ul class="prod-info-other2">
				<li>{$MODULE_tpt}</li>
			</ul>
			{/if}
			{if $parameters}
			<ul class="prod-info-other2">
				{foreach name=aussen item=parameters_data from=$parameters}
				<li>{$parameters_data.parameters_name} {if $parameters_data.parameters_value}{$parameters_data.parameters_value} {$parameters_data.parameters_suff}{else} {/if}</li>
				{/foreach}
			</ul>
			{/if}
			</div>
			<div class="clear"></div>
			{$PRODUCT_NAVIGATOR}
		</div>
	</div>
	<div class="con-foo"><div class="sb-left"></div><div class="sb-right"></div></div>
</div>
{$FORM_END}
{if $PRODUCTS_DESCRIPTION !=''}
<div class="content-block">
	<div class="gray-title-top">
		<div class="b-left"></div>
			<span class="bold tsb">Описание товара</span>
		<div class="b-right"></div>
	</div>
	<div class="con-cen">
		<div class="content-text">
			{$PRODUCTS_DESCRIPTION}
		</div>
	</div>
	<div class="con-foo"><div class="sb-left"></div><div class="sb-right"></div></div>
</div>
{/if}
{if $PRODUCTS_MO_IMAGES}
<div class="content-block">
	<div class="gray-title-top">
		<div class="b-left"></div>
			<span class="bold tsb">Изображения</span>
		<div class="b-right"></div>
	</div>
	<div class="con-cen">
		<div class="content-text">
			<ul class="product-mo-images">
				{foreach name=mo_pic item=img_values from=$mo_img}
				{php}$col++;{/php}
				<li>
					{if $img_values.PRODUCTS_MO_POPUP_LINK !=''}
						<a rel="example_group" href="{$img_values.PRODUCTS_MO_POPUP_IMAGE}" title="{$PRODUCTS_NAME}" target="_blank">
					{/if}
						<img src="{$img_values.PRODUCTS_MO_IMAGE}" alt="{$PRODUCTS_NAME}" />
					{if $img_values.PRODUCTS_MO_POPUP_LINK !=''}
						</a>
					{/if}
				</li>
				{php} 
					if ($col>=4) {
						$col=0;
						echo '<div class="clear"></div>';
					}
				{/php}
				{/foreach}
			</ul>
		</div>
	</div>
	<div class="con-foo"><div class="sb-left"></div><div class="sb-right"></div></div>
</div>
{/if}
{if $PRODUCTS_URL != ''}{$PRODUCTS_URL}{/if}
{if $MODULE_bundle != ''}{$MODULE_bundle}{/if}
{if $MODULE_products_reviews != ''}{$MODULE_products_reviews}{/if}
{if $MODULE_products_media != ''}{$MODULE_products_media}{/if}
{if $MODULE_cross_selling != ''}{$MODULE_cross_selling}{/if}
{if $MODULE_reverse_cross_selling != ''}{$MODULE_reverse_cross_selling}{/if}
{if $MODULE_also_purchased != ''}{$MODULE_also_purchased}{/if}